Content tabs group several titled panels of content into one block that shows a single panel at a time. They suit content that comes in variants (such as installation steps for each operating system or the same snippet in several programming languages).

A tabs block consists of:

Inserting a tabs block

A new block contains two tabs, named “Tab 1” and “Tab 2”. The title of the first tab is selected, so typing replaces it.

Editing tabs

While the cursor is inside a tabs block, a toolbar appears above it with the following buttons:

The tab that is showing is not saved with the note: every tabs block opens on its first tab.

Reading tabs

In Read-Only Notes and on Sharing, tabs blocks work as tabs as well:

A tab without a title shows “Tab title” in place of one.

Linking to a tab

A link can point to a single tab, much like a link to a block (see Block references):

  1. Place the cursor in the tab, either in its title or in its panel.
  2. Press Copy link to tab in the toolbar of the tabs block. Alternatively, right-click the text and select Copy → Copy link to this tab. The tab flashes briefly.
  3. Go to the note where to insert the link and press Ctrl+V.

The link shows the title of the note, followed by the title of the tab. Clicking it opens the note, shows the tab and flashes it. As with any block reference, the link can be turned into an Include Note that shows only that tab.

Links to a tab can be copied only from a note being edited. On a shared page, such a link opens the whole note.

Content in hidden tabs

Content inside a tab that is not showing is still reachable (both while editing and while reading). The tab that holds it is shown when:

Tab titles are not headings, so they do not appear in the table of contents; headings inside a panel do.

Printing and exporting